import React from 'react';//导入全局对象   React所有的都基于react
import ReactDOM from 'react-dom/client';
import {RouterProvider as Router } from 'react-router-dom';
import router from './router/index';
// import App from './App';
import './App.css';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <React.StrictMode>
        <Router router={router}>

        </Router>
    </React.StrictMode>
);